package com.tn.openrpc.stomp;

import com.kaazing.gateway.client.protocol.stomp.StompEvent;
import com.kaazing.gateway.client.protocol.stomp.StompListener;

/**
 * An implementation of <code>StompListener</code> that provides a blank methods so specializations don't have to declare methods
 * they aren't going to override.
 */
public class NullStompListener implements StompListener
{
  /**
   * {@inheritDoc}
   */
  @Override
  public void onOpen(StompEvent stompEvent)
  {
    //Intentionally blank.
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public void onMessage(StompEvent stompEvent)
  {
    //Intentionally blank.
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public void onReceipt(StompEvent stompEvent)
  {
    //Intentionally blank.
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public void onClose(StompEvent stompEvent)
  {
    //Intentionally blank.
  }

  /**
   * {@inheritDoc}
   */
  @Override
  public void onError(StompEvent stompEvent)
  {
    //Intentionally blank.
  }
}
